JavaScript
{dialog.object}listGetValue Method
Syntax
{dialog.object}.listGetValue(UXListName, UXControlName [, rowNumber]);
Arguments
- UXListName
The List control containing the control.
- UXControlName
The column in the List control to read the value from.
- rowNumber
Optional. A zero based row number. The row in the List control to read the value from.
Description
Get the value of a column in a List control.
Discussion
Unlike the .getValue() method, which returns the value for the currently selected row, you can pass an optional rowNumber to get the data in a exlpicit row.
Example
//Read value in 'LASTNAME' field from the 3rd row of 'LIST1'. var lname = {dialog.object}.listGetValue('LIST1','LASTNAME',2);